package com.cc.pojo.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created with IntelliJ IDEA.
 *
 * @author c.c
 * @Since 2023/3/30
 */
@AllArgsConstructor
@Getter
public enum VelocityDbEnum {
  /**
   * 包名
   **/
  PACKAGE("package", "包名"),

  /**
   * 层级名
   **/
  IMPORTPATH("importPath", "包引入位置"),

  /**
   * 类名
   **/

  TABLENAME("tableName", "表名"),

  /**
   * 属性集合
   **/
  COLUMNS("columns", "前端传入参数集合"),

  /**
   * 返回类型
   **/
  RETURN_TYPE("returnType", "返回类型"),

  /**
   * 属性
   **/
  PROPERTY_NAME("propertyName", "属性"),

  /**
   * 形参
   **/
  FORMAL_PARAMETERS("formalParameter", "形参"),
  TAG("propertyTag", "标记属性"),
  REMAKE("remark", "备注"),
  INPUT_PARAMETERS("inputParameters", "输入参数"),
  DATABASENAME("databaseName", "数据库字段名字"),


  CLASS_NAME_FOR_DB("classNameForDb", "类名"),
  CLASS_NAME_FOR_Do("classNameForDo", "do类名"),
  CLASS_NAME_FOR_DAO("classNameForDao", "dao层接口"),
  CLASS_NAME_FOR_INTER("classNameForInter", "inter层接口名"),
  CLASS_NAME_FOR_DAOIMPL("classNameForDaoImpl", "inter层接口名"),
  CLASS_NAME_FOR_SERVICE("classNameForService", "Service名"),
  CLASS_NAME_FOR_VO("classNameForVo", "vo层名"),
  CLASS_NAME_FOR_DTO("classNameForDto", "vo层名"),
  CLASS_NAME_FOR_CONTROLLER("classNameForController", "controller层名"),

  //sql分页查询相关
  SELECTSQL("selectSql", "select语句"),
  FROMSQL("fromSql", "from语句"),
  WHEREPARAMS("whereParams", "where条件"),
  CONDITION("condition", "判断条件"),
  JUDGMENTPARAMETERS("judgmentParameters", "前端传递的判断参数"),
//service层


  ;

  private final String value;
  private final String des;
}
